package dal;

import java.io.Serializable;

import javax.swing.ImageIcon;

public class Thumb implements Serializable {
	private static final long serialVersionUID = 3807049791975521202L;
	private String title;
	private String desc;
	private ImageIcon ico;
	
	public Thumb(String title, String desc, ImageIcon ico){
		this.title = title;
		this.desc = desc;
		this.ico = ico;
	}
	
	/**
	 * @return	
	 * 	title of a map
	 */
	public String getTitle(){
		return this.title;
	}
	
	/**
	 * @return
	 * 	description of a map
	 */
	public String getDescription(){
		return this.desc;
	}
	
	/**
	 * @return
	 * 	a map's screenshot
	 */
	public ImageIcon getImage(){
		return this.ico;
	}
}
